package com.mlz.mlzmall.ui.model;

import com.mlz.mlzmall.ui.utils.DataUtils;

import java.util.List;

/**
 * describe :
 * Created by yhf on 2016/5/26.
 * PackageName com.mlz.mlzmall.ui.model.
 * ProjectName mlzMall v2.0.
 */
public class AttrInfo {

    /**
     * status : 0
     * errors : [{}]
     * msg : string
     * data : {"customerId":0,"fullname":"string","gender":0,"telephone":"string","portrait":"string","email":"string","customerGroupName":0,"addressId":0,"ageGroupTagId":0,"ageGroupTagName":"string","characterTagId":0,"characterTagName":"string","dressStyleTagId":0,"dressStyleTagName":"string"}
     */

    private int status;
    private String msg;
    /**
     * customerId : 0
     * fullname : string
     * gender : 0
     * telephone : string
     * portrait : string
     * email : string
     * customerGroupName : 0
     * addressId : 0
     * ageGroupTagId : 0
     * ageGroupTagName : string
     * characterTagId : 0
     * characterTagName : string
     * dressStyleTagId : 0
     * dressStyleTagName : string
     */

    private DataBean data;
    private List<ErrorsBean> errors;

    public int getStatus() {
        return DataUtils.getInt(status);
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return DataUtils.getString(msg);
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public List<ErrorsBean> getErrors() {
        return errors;
    }

    public void setErrors(List<ErrorsBean> errors) {
        this.errors = errors;
    }

    public static class DataBean {
        private int customerId;
        private String fullname;
        private int gender;
        private String telephone;
        private String portrait;
        private String email;
        private int customerGroupName;
        private int addressId;
        private int ageGroupTagId;

        public int getCustomerId() {
            return DataUtils.getInt(customerId);
        }

        public void setCustomerId(int customerId) {
            this.customerId = customerId;
        }

        public String getFullname() {
            return DataUtils.getString(fullname);
        }

        public void setFullname(String fullname) {
            this.fullname = fullname;
        }

        public int getGender() {
            return DataUtils.getInt(gender);
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getTelephone() {
            return DataUtils.getString(telephone);
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getPortrait() {
            return DataUtils.getString(portrait);
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public String getEmail() {
            return DataUtils.getString(email);
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public int getCustomerGroupName() {
            return DataUtils.getInt(customerGroupName);
        }

        public void setCustomerGroupName(int customerGroupName) {
            this.customerGroupName = customerGroupName;
        }

        public int getAddressId() {
            return DataUtils.getInt(addressId);
        }

        public void setAddressId(int addressId) {
            this.addressId = addressId;
        }

        public int getAgeGroupTagId() {
            return DataUtils.getInt(ageGroupTagId);
        }

        public void setAgeGroupTagId(int ageGroupTagId) {
            this.ageGroupTagId = ageGroupTagId;
        }
    }

    public static class ErrorsBean {
    }
}
